package ar.com.cema.methodology.analyzer.model;

import java.io.Serializable;

import javax.persistence.Embeddable;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

@Embeddable
public class MethodologyUsageStatisticPK implements Serializable {
	private static final long serialVersionUID = 3691605899363323879L;

	@ManyToOne
	@JoinColumn(name = "variable_id")
	private Variable variable;

	@ManyToOne
	@JoinColumn(name = "methodology_id")
	private Methodology methodology;

	public Variable getVariable() {
		return variable;
	}
	public void setVariable(Variable variable) {
		this.variable = variable;
	}
	public Methodology getMethodology() {
		return methodology;
	}
	public void setMethodology(Methodology methodology) {
		this.methodology = methodology;
	}
}
